﻿<UserControl x:Class="PiviotViewerSLViewer.CollectionInfoBox"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="222" d:DesignWidth="395" VerticalAlignment="Top">
	<UserControl.Resources>
		<Style x:Key="InfoTextStyle" TargetType="TextBlock">
			<Setter Property="FontSize" Value="13.333" />
			<Setter Property="Margin" Value="0,0,6,0" />
		</Style>
		<Style x:Key="ItemLineStackPanelStyle" TargetType="StackPanel">
			<Setter Property="VerticalAlignment" Value="Top"/>
			<Setter Property="Orientation" Value="Horizontal"/>
			<Setter Property="HorizontalAlignment" Value="Left"/>
		</Style>
		<Style x:Key="TextBorderStyle" TargetType="Border">
			<Setter Property="BorderThickness" Value="3"/>
			<Setter Property="CornerRadius" Value="3"/>
			<Setter Property="Background" Value="#FFE8D8D8"/>
			<Setter Property="BorderBrush" Value="#FFE8D8D8"/>
			<Setter Property="Padding" Value="2"/>
			<Setter Property="Margin" Value="0,2"/>
		</Style>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" VerticalAlignment="Top">
    	<Border BorderBrush="Black" BorderThickness="3" Background="#FF819499" CornerRadius="3" VerticalAlignment="Top">
    		<Grid VerticalAlignment="Top">
    			<Grid.ColumnDefinitions>
    				<ColumnDefinition Width="10*"/>
    				<ColumnDefinition Width="347*"/>
    				<ColumnDefinition Width="10*"/>
    			</Grid.ColumnDefinitions>
    			<Grid.RowDefinitions>
    				<RowDefinition Height="10"/>
    				<RowDefinition/>
    				<RowDefinition Height="10"/>
    			</Grid.RowDefinitions>
    			<StackPanel VerticalAlignment="Top" Margin="0" Grid.Row="1" Grid.Column="1">
    				<Border Style="{StaticResource TextBorderStyle}">
    					<StackPanel Style="{StaticResource ItemLineStackPanelStyle}" Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
    						<TextBlock TextWrapping="Wrap" Text="Title:" Style="{StaticResource InfoTextStyle}"/>
    						<TextBlock x:Name="TitleText" TextWrapping="Wrap" Text="TextBlock" Style="{StaticResource InfoTextStyle}"/>
    					</StackPanel>
    				</Border>
    				<Border Style="{StaticResource TextBorderStyle}">
    					<StackPanel Style="{StaticResource ItemLineStackPanelStyle}">
    						<TextBlock TextWrapping="Wrap" Text="Description:" Style="{StaticResource InfoTextStyle}" />
    						<TextBlock x:Name="DescriptionText" TextWrapping="Wrap" Text="TextBlock" Style="{StaticResource InfoTextStyle}"/>
    					</StackPanel>
    				</Border>
    				<Button x:Name="CloseButton" Content="Close" HorizontalAlignment="Right" Margin="0,12,0,0"/>
    			</StackPanel>
    		</Grid>
    	</Border>

    </Grid>
</UserControl>
